package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * TbQuestion entity. @author MyEclipse Persistence Tools
 */

public class TbQuestion implements java.io.Serializable {

	// Fields

	private Integer questionId;
	private TbCourse tbCourse;
	private String content;
	private String optionA;
	private String optionB;
	private String optionC;
	private String optionD;
	private String answer;
	private Boolean isMultiple;
	private Set tbQuestioninpapers = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbQuestion() {
	}

	/** minimal constructor */
	public TbQuestion(TbCourse tbCourse, String content, String optionA,
			String optionB, String optionC, String optionD, String answer,
			Boolean isMultiple) {
		this.tbCourse = tbCourse;
		this.content = content;
		this.optionA = optionA;
		this.optionB = optionB;
		this.optionC = optionC;
		this.optionD = optionD;
		this.answer = answer;
		this.isMultiple = isMultiple;
	}

	/** full constructor */
	public TbQuestion(TbCourse tbCourse, String content, String optionA,
			String optionB, String optionC, String optionD, String answer,
			Boolean isMultiple, Set tbQuestioninpapers) {
		this.tbCourse = tbCourse;
		this.content = content;
		this.optionA = optionA;
		this.optionB = optionB;
		this.optionC = optionC;
		this.optionD = optionD;
		this.answer = answer;
		this.isMultiple = isMultiple;
		this.tbQuestioninpapers = tbQuestioninpapers;
	}

	// Property accessors

	public Integer getQuestionId() {
		return this.questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public TbCourse getTbCourse() {
		return this.tbCourse;
	}

	public void setTbCourse(TbCourse tbCourse) {
		this.tbCourse = tbCourse;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getOptionA() {
		return this.optionA;
	}

	public void setOptionA(String optionA) {
		this.optionA = optionA;
	}

	public String getOptionB() {
		return this.optionB;
	}

	public void setOptionB(String optionB) {
		this.optionB = optionB;
	}

	public String getOptionC() {
		return this.optionC;
	}

	public void setOptionC(String optionC) {
		this.optionC = optionC;
	}

	public String getOptionD() {
		return this.optionD;
	}

	public void setOptionD(String optionD) {
		this.optionD = optionD;
	}

	public String getAnswer() {
		return this.answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public Boolean getIsMultiple() {
		return this.isMultiple;
	}

	public void setIsMultiple(Boolean isMultiple) {
		this.isMultiple = isMultiple;
	}

	public Set getTbQuestioninpapers() {
		return this.tbQuestioninpapers;
	}

	public void setTbQuestioninpapers(Set tbQuestioninpapers) {
		this.tbQuestioninpapers = tbQuestioninpapers;
	}

}